<template>
  <div class="content">
    <div class="tit">
      <router-link active-class="active" class="aBuyCar" :to="{path:'aBuyCar'}" tag="div">
        <span>买到的车辆</span>
      </router-link>
      <router-link active-class="active" class="aSoldCar" :to="{path:'aSoldCar'}" tag="div">
        <span>出售的车辆</span>
      </router-link>
    </div>
    <router-view/>
  </div>
</template>
<script>
export default {

}
</script>
<style lang="scss" scoped>
.content{
  width: 938px;
  max-height: 1038px;
  min-height: 365px;
  border: 1px solid #e3e3e3;
  float: left;
  span{
    display: inline-block;
    width: 100%;
    height: 100%;
  }
  .tit{
    background: #fafafa;
    height: 50px;
    line-height: 50px;
    overflow: hidden;
    // padding: 0 30px;
    font-size: 16px;
    border-bottom: 1px solid #ff6f3c;
    div{
      width: 180px;
      text-align: center;
      float: left;
      color: #333;
      cursor: pointer;
    }
    .active{
      background: #ff6f3c;
      color: #fff;
    }
  }
}
</style>
